#ifndef _NUMERICS_HPP_
#define _NUMERICS_HPP_

#include <math.h>

typedef double	Real;
typedef int		iReal;

namespace klasPhysics
{

// If the distance between a and b is less than the value of precision then the function returns true.
inline bool IsEqual(Real a, Real b, Real precision=.00001)
{
	if(fabs(a-b) < precision)
		return true;
	return false;
}

}
#endif